#include "bitmap.h"

namespace czb 
{

	void func1()
	{
		bitset<4000000000> btst;
		
		size_t arr[] = { 3,52,354,3456,645,4000000000 };

		for (auto e : arr)
		{
			btst.set(e);
		}

		for (auto e : arr)
		{
			cout<<e<<": "<< btst.test(e) << endl;
		}
		for (auto e : arr)
		{
			btst.reset(e);
		}
		for (auto e : arr)
		{
			cout << e << ": " << btst.test(e) << endl;
		}

	}


	void func2()
	{
		two_bit_set<100> tbs;

		size_t arr[] = {1,2,3,4,5,6,7,8,9};

		for (auto e : arr)
		{
			tbs.set(e);
		}

		tbs.set(5);
		tbs.set(9);

		for (auto e : arr)
		{
			cout << e << ": " << tbs.test(e) << endl;
		}


	}



}


int main()
{

	czb::func2();

	return 0;
}